package code08_三大特征;

/*
 * 技能类
 */
public class Skill {
	private String name; // 技能名称
	private int attack; // 攻击力
	private int defend; // 防御力
	private int level; // 技能等级

	public Skill() {
		super();
	}

	public Skill(String name, int attack, int defend, int level) {
		super();
		this.name = name;
		this.attack = attack;
		this.defend = defend;
		this.level = level;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getAttack() {
		return attack;
	}

	public void setAttack(int attack) {
		this.attack = attack;
	}

	public int getDefend() {
		return defend;
	}

	public void setDefend(int defend) {
		this.defend = defend;
	}

	public int getLevel() {
		return level;
	}

	public void setLevel(int level) {
		this.level = level;
	}

}
